package com.travel.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.common.utils.PageUtils;
import com.travel.ticket.entity.AttrEntity;
import com.travel.ticket.entity.SpuRelationAttr;
import com.travel.ticket.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lxw
 * @email lxw@gmail.com
 * @date 2023-12-07 21:18:58
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attr);

    List<AttrEntity> getAttrList();

    List<SpuRelationAttr> getSpuIdRelationAttr(Integer spuId);
}

